package homework_03;

public class home_02 {
    public static void main(String[] args) {
        int a=90,n;
        if (a>=90&&a<=100){
            n=1;
        }else if(a>=80&&a<90){
            n=2;
        }else if(a>=70&&a<80){
            n=3;
        }else if(a>=60&&a<70){
            n=4;
        }else {
            n=5;
        }
        switch (n){
            case 1:
                System.out.println("A");break;
            case 2:
                System.out.println("B");break;
            case 3:
                System.out.println("C");break;
            case 4:
                System.out.println("D");break;
            default:
                System.out.println("E");
        }
    }
}
